package cn.tedu.tourism.order.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class RoomOrdersVO {
    @ApiModelProperty(value = "订单id")
    Long id;
    @ApiModelProperty(value = "用户id")
    Long userId;
    @ApiModelProperty(value = "酒店id")
    Long hotelId;
    @ApiModelProperty(value = "房间id")
    Long roomId;
    @ApiModelProperty(value = "住客姓名")
    String guestName;
    @ApiModelProperty(value = "住客手机号")
    String phone;
    @ApiModelProperty(value = "入住日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date checkinDate;
    @ApiModelProperty(value = "退房日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date checkoutDate;
    @ApiModelProperty(value = "订房数量")
    Long roomNum;
    @ApiModelProperty(value = "总价")
    Double totalPrice;
    @ApiModelProperty(value = "订单状态")
    String status;
    @ApiModelProperty(value = "备注")
    String remark;
    @ApiModelProperty(value = "支付方式")
    String payMethod;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date updateTime;
}
